package com.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 古嘉琦
 * @since 2023-10-12
 */

@Data
@TableName("user")
public class User extends Model<User> {

    @TableId(value = "UserID" ,type = IdType.AUTO)
    private Integer userID;

    @TableField("Username")
    private String username;

    @TableField("Password")
    private String password;

    @TableField("Avatar")
    private String avatar;

    @TableField("Contact")
    private String contact;

    @TableField("Address")
    private String address;

	

}
